﻿<UserControl x:Class="SeleniumRecorder.SaveDialog"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="200" d:DesignWidth="300" Background="{Binding WindowBackgroundBrush}">
    <UserControl.Resources>
        <LinearGradientBrush x:Key="WindowBackgroundBrush" StartPoint="0,0" EndPoint="0,1">
            <GradientStop Color="White" Offset="0.9"/>
            <GradientStop Color="#FF6A85D8" Offset="0.01"/>
            <GradientStop Color="#FF3464C4" Offset="1"/>
            <GradientStop Color="#FF202E7E" Offset="1"/>
        </LinearGradientBrush>
    </UserControl.Resources>


    <Grid Background="{Binding WindowBackgroundBrush}">
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="150"/>
                <ColumnDefinition Width="3*" />
            </Grid.ColumnDefinitions>
            <Label Grid.Row="0" Grid.ColumnSpan="2" FontSize="30" HorizontalAlignment="Center">Save</Label>
                <Label Grid.Row="1" FontSize="16"  Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center">File Name :</Label>
            <TextBox Margin="10,10,10,10" Grid.Row="1" Grid.Column="1" Name="SearchValue"></TextBox>

         
            <Button Grid.Row="2" HorizontalAlignment="Left" Margin="10,10,10,10" Width="50" Grid.Column="2"  >Save</Button>
            <Button Grid.Row="2" Margin="50,10,10,10" Width="50" Grid.Column="2"  >Cancel</Button>

        </Grid>

    </Grid>
</UserControl>
